import os 
import sys 

os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' 
for k in [k for k in sys.modules if k.startswith('django')]: 
	del sys.modules[k] 

from google.appengine.dist import use_library 
use_library('django', '1.2')